home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / misc-headers / grp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-15  |  615 b   |  29 lines  |  [TEXT/EMAC]

  1. /*
  2.  * This file is part of a Macintosh port of GNU Emacs.
  3.  * Copyright (C) 1993, 1994 Marc Parmet.  All rights reserved.
  4.  *
  5.  * GNU Emacs is distributed in the hope that it will be useful,
  6.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  7.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  8.  * GNU General Public License for more details.
  9.  */
  10.  
  11. #ifndef __GRP__
  12. #define __GRP__
  13.  
  14. #include "sys/types.h"
  15.  
  16. struct  group {
  17.     char    *gr_name;
  18.     gid_t    gr_gid;
  19. };
  20.  
  21. #ifndef _POSIX_SOURCE
  22. struct group *getgrent();
  23. #endif
  24.  
  25. struct group *getgrgid(gid_t gid);
  26. struct group *getgrnam(char *name);
  27.  
  28. #endif
  29.